package com.hello.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hello.sky.model.entity.AddressBook;

import java.util.List;

/**
 * <p>
 * 地址簿 服务类
 * </p>
 *
 * @author D
 * @since 2024-05-06
 */
public interface AddressBookService extends IService<AddressBook> {

    List<AddressBook> getAllAddrByCurrentUser();

    void addAddr(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    AddressBook getDefaultAddr();
}
